package com.hqyj.sale.mapper;

import com.hqyj.sale.model.SaleInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SaleInfoMapper {
    int deleteByPrimaryKey(Integer productId);

    int insert(SaleInfo record);

    int insertSelective(SaleInfo record);

    SaleInfo selectByPrimaryKey(Integer productId);

    int updateByPrimaryKeySelective(SaleInfo record);

    int updateByPrimaryKey(SaleInfo record);

    List<SaleInfo> queryAllSaleInfo();

    int updateSaleInfoById(int id);

    List<SaleInfo> queryAllSaleInfoBySended();
}